﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Netstars.Web.Configuration
{
    /// <summary>
    /// 配置文件接口
    /// </summary>
    public interface IProfileConfigurationManager
    {
        /// <summary>
        /// 读取指定节点的值
        /// </summary>
        /// <param name="name">节点名</param>
        /// <returns></returns>
        string GetSection(string name);
        /// <summary>
        /// 获取一个值，该值指示当前配置文件是否存在
        /// </summary>
        bool HasFile { get; }
        /// <summary>
        /// 获取或设置当前配置文件路径
        /// </summary>
        string FilePath { get; set; }
        bool Save() 
    }
}
